package com.hjw.java.interface_demo1;

/**
 * @author hjwStrart
 * @create 2022-01-13 15:05
 */
public class TestInterDemo1 {
    public static void main(String[] args) {
        USB usb = null;
        Printer printer = new Printer();
        Keyboard keyboard = new Keyboard();
        usb = printer;
        usb.function();

    }
}
